Since some processes can interfere with others, knowing the order in which various processes are performed by A/S on a given file can be of great value when doing complex reformatting.
A/S processes a file in chunks until all the characters in the file have been read. Each chunk is subjected to each of the following manipulations (if chosen) and in the following order:
• Remap characters if required by chosen remapping set
• Replacement sets #1-225
• Line Replacement sets #1-125
• Strip control characters
• Make ellipses
• Make em dashes
• Make ligatures
• Strip trailing spaces
• Normalize spaces
• Leading string (done in main process if Make Paragraphs is chosen)
• Quotes & apostrophes
• Adjust case
• Perform main process
• Remap characters if required by chosen remapping set
BOF and EOF Insert Strings can be inserted into the text as it is read from the input file or they can be sent directly into the output file. When the string is to be sent directly to the output file, A/S interprets any embedded ASCII character codes and, if the current character remapping set remaps outgoing characters, it remaps the characters as needed and sends the string to the output file. No other processing is done.
When the string is to be inserted into the input text stream, A/S interprets any embedded ASCII character codes and then simply inserts the string into the input text as it is read from the input file. The text is subjected to the same processing as the rest of the input file.